package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Prize {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入寒烟同学的名次:");
        int num = in.nextInt();
        switch (num) {
            case 1: {
                System.out.println("夏令营");
            }
            break;
            case 2: {
                System.out.println("hp笔记本");
            }
            break;
            case 3: {
                System.out.println("移动硬盘");
            }
            break;
            case 4:
            case 5:
            case 6: {
                System.out.println("晨光笔记本");
            }
            break;
            default: {
                System.out.println("没有奖励");
            }
            break;
        }
//        if (num == 1) {
//            System.out.println("参加夏令营");
//        } else if (num == 2) {
//            System.out.println("hp笔记本电脑");
//        } else if (num == 3) {
//            System.out.println("移动硬盘一个");
//        } else {
//            System.out.println("没有奖励");
//        }
    }
}
